package com.yonyou.pmclouds.picture.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "pmbd_picture")
@Getter
@Setter
public class PictureVO extends SuperVO {

    public static final String TITLE = "title";
    public static final String DESCRIPTION = "description";
    public static final String EXAMPLE_FLAG = "exampleFlag";

    /**
     *
     */
    private static final long serialVersionUID = -794724485641854374L;
    @Id
    private String pk_picture;
    private String picture_name;
    private String pk_bill;
    private String pk_entity;
    private String pk_project;
    private String src_bill_type;
    private byte bill_status;
    //指明图片在这一张单据中的显示顺序
    private int sequence;
    private String creator;
    private Date creationtime;
    private String modifier;
    private Date modifytime;
    /**
     * 图片标题
     */
    private String title;
    /**
     * 图片描述
     */
    private String description;
    /**
     * 是否是示例图片（1：示例图片，0或空：非示例图片）
     */
    private Integer exampleFlag;
}
